package com.san.app.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.san.app.dao.WarningReviewDao;
import com.san.app.domain.WarningDTO;
import com.san.app.service.WarningReviewService;
import com.san.app.vo.WarningSubVO;

/**
 * 预警审核Service实现类
 * 
 * @author SuperSR
 * @date 2019年3月19日 下午5:30:24
 *
 */
@Service
public class WarningReviewServiceImpl implements WarningReviewService {

	@Autowired
	private WarningReviewDao dao;

	@Override
	public List<WarningDTO> reviewList(Map<String, Object> map) {
		return dao.reviewList(map);
	}

	@Override
	public int review(WarningSubVO warningSubVO) {
		return dao.review(warningSubVO);
	}

	@Override
	public int count(Map<String, Object> map) {
		return dao.count(map);
	}
}
